package com.vehicle_information_management_system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.vehicle_information_management_system.pojo.DepartmentInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author huawei
* @description 针对表【department_info】的数据库操作Service
* @createDate 2025-02-16 09:49:18
*/
public interface DepartmentInfoService extends IService<DepartmentInfo> {

    IPage<DepartmentInfo> listPage(Integer pageNum, Integer pageSize,String search);

    void add(DepartmentInfo departmentInfo);

    void delete(Integer id);

    void update(DepartmentInfo departmentInfo);

    List<DepartmentInfo> getDepartmentInfo();

}
